import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import {createPinia} from 'pinia'
import './assets/base.css'
//进度条
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'
const app = createApp(App)

import * as ElementPlusIconsVue from '@element-plus/icons-vue'
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(router)
app.use(NProgress)
app.use(createPinia())
app.mount('#app')
